import axios from '@/utils/request'

const getList = (token) => {
  return axios.request({
    url: 'users/getList',
    method: 'get',
    params: {
      token
    }
  })
}
const getOfferList = (token) => {
  return axios.request({
    url: 'users/getOfferList',
    method: 'get',
    params: {
      token
    }
  })
}
export default {
  getList,
  getOfferList
}
